﻿using System;

namespace PieceSets
{
  public class PieceSetViewModel
  {
    public Uri Uri { get; private set; }
    public string Name { get; private set; }
    public PieceSetViewModel(string folder)
    {
      Name = folder.Replace("%20", " ");
      Uri = new Uri("/PieceSets;component/" + folder, UriKind.Relative);
    }
    public override string ToString()
    {
      return Name;
    }
  }
}